package com.briup.srms.project.service;

import java.util.List;

import com.briup.srms.project.bean.Project;
import com.briup.srms.project.bean.extend.ProjectExtend;
import com.jacky.base.utils.CustomerException;
import com.jacky.base.utils.PageVM;

public interface IProjectService {

	PageVM<Project> pageQuery(int page, int pageSize, String name,Long directionId);
	
	PageVM<ProjectExtend> pageQueryCascade(int page, int pageSize, String name,Long directionId);
	
	void saveOrUpdate(Project project) throws CustomerException;
	
	void batchInsert(List<Project> projects) throws CustomerException;

	void deleteById(long id) throws CustomerException;

}
